package com.secondhand.service;

import com.secondhand.domain.user;

public interface userService {

    user findByUserNameAndPassword(String username,String password);

    boolean saveUser(String username,String password);
    boolean deleteUser(String username);
    boolean getUserByUserName(String username);
    int getUserIdByUserName(String username);
    int updateUser(user user);
}
